<template>
	<view class="bg-F5F5F5 " style="overflow: hidden;height: 100vh; "> 
	<view class="mx-30 mt-28">
		<view class="">
			<x-indent-details
			:data='data'
			:order_info='order_info' 
			:time="time"
			/>
		</view> 
		<!-- <view class="mt-10"> -->
			<!-- <x-Indent-button :order_id="order_id" v-if="data.status!=4"/> -->
			<!--1是待核销 2是已核销  不等于2 就是待核销 -->
			<!-- <x-Indent-button :order_id="order_id" v-if="data.status!=2"/>
		</view> -->
	</view>
	</view>
</template> 
<script>
	export default {
		data() {
			return {
				order_id: '',
				time:'',//时间戳
				data:null,
				order_info:null
			}
		},
		onLoad(options) {
			console.log(options,'options')
			// 记得还回来
			this.order_id = options.id;
			// this.order_id = '1';
		},
		onShow() {
			this.$https('doctindex.writeOffdetail',{order_id:this.order_id}).then(res=>{
				this.data=res.data;
				this.order_info=res.data.order_info;
				this.time=res.time;
				console.log(res,'res')
			})
		},
		methods: {

		}
	}
</script>

<style scoped>
@import url("@/common/css/fress.css");
	@import url("@/common/css/mycss.css");
</style>
